package edu.se.jai.websocketgateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * WebSocket网关服务启动类
 * 
 * 负责处理WebSocket连接和消息转发，通过OpenFeign调用game-service
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "edu.se.jai.openfeignapi.feign")
public class WebSocketGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebSocketGatewayApplication.class, args);
    }
}

